Platform Explorer / Nuxeo Platform LTS 2017 9.10

Contribution org.nuxeo.ecm.webapp.contentview.users.contrib--contentViews

This contribution is part of XML component org.nuxeo.ecm.webapp.contentview.users.contrib inside nuxeo-platform-webapp-base-9.10.jar /OSGI-INF/users-contentviews-contrib.xml

Extension Point

Extension point contentViews of component ContentViewService.

Contributed Items

  • <contentView name="users_listing_search_only">
          <emptySentence>label.userManager.emptyUserList</emptySentence>
          <translateEmptySentence>true</translateEmptySentence>
          <pageProvider name="users_listing">
            <property name="usersListingMode">#{userManagementActions.listingMode}</property>
            <parameter>#{userManagementActions.searchString}</parameter>
          </pageProvider>
          <showPageSizeSelector>true</showPageSizeSelector>
          <showRefreshCommand>false</showRefreshCommand>
          <useGlobalPageSize>false</useGlobalPageSize>
          <refresh>
            <event>usersListingChanged</event>
            <event>usersSearchChanged</event>
          </refresh>
          <cacheKey>only_one_cache</cacheKey>
          <cacheSize>1</cacheSize>
          <resultLayouts>
            <layout name="users_listing" showCSVExport="false" showPDFExport="false"/>
          </resultLayouts>
        </contentView>
  • <contentView name="users_listing_tabbed">
          <emptySentence>label.userManager.emptyUserList</emptySentence>
          <translateEmptySentence>true</translateEmptySentence>
          <pageProvider name="users_listing">
            <property name="usersListingMode">#{userManagementActions.listingMode}</property>
            <parameter>#{userManagementActions.selectedLetter}</parameter>
          </pageProvider>
          <showPageSizeSelector>true</showPageSizeSelector>
          <showRefreshCommand>false</showRefreshCommand>
          <useGlobalPageSize>false</useGlobalPageSize>
          <refresh>
            <event>selectedLetterChanged</event>
          </refresh>
          <reset>
            <event>usersListingChanged</event>
          </reset>
          <cacheKey>only_one_cache</cacheKey>
          <cacheSize>1</cacheSize>
          <resultLayouts>
            <layout name="users_listing" showCSVExport="false" showPDFExport="false"/>
          </resultLayouts>
        </contentView>
  • <contentView name="groups_listing_search_only">
          <emptySentence>label.groupManager.emptyGroupList</emptySentence>
          <translateEmptySentence>true</translateEmptySentence>
          <pageProvider name="groups_listing">
            <property name="groupsListingMode">#{groupManagementActions.listingMode}</property>
            <parameter>#{groupManagementActions.searchString}</parameter>
          </pageProvider>
          <showPageSizeSelector>true</showPageSizeSelector>
          <showRefreshCommand>false</showRefreshCommand>
          <useGlobalPageSize>false</useGlobalPageSize>
          <refresh>
            <event>groupsListingChanged</event>
          </refresh>
          <cacheKey>only_one_cache</cacheKey>
          <cacheSize>1</cacheSize>
          <resultLayouts>
            <layout name="groups_listing" showCSVExport="false" showPDFExport="false"/>
          </resultLayouts>
        </contentView>

XML Source

<extension point="contentViews" target="org.nuxeo.ecm.platform.ui.web.ContentViewService">

    <contentView name="users_listing_search_only">
      <emptySentence>label.userManager.emptyUserList</emptySentence>
      <translateEmptySentence>true</translateEmptySentence>
      <pageProvider name="users_listing">
        <property name="usersListingMode">#{userManagementActions.listingMode}</property>
        <parameter>#{userManagementActions.searchString}</parameter>
      </pageProvider>
      <showPageSizeSelector>true</showPageSizeSelector>
      <showRefreshCommand>false</showRefreshCommand>
      <useGlobalPageSize>false</useGlobalPageSize>
      <refresh>
        <event>usersListingChanged</event>
        <event>usersSearchChanged</event>
      </refresh>
      <cacheKey>only_one_cache</cacheKey>
      <cacheSize>1</cacheSize>
      <resultLayouts>
        <layout name="users_listing" showCSVExport="false" showPDFExport="false"/>
      </resultLayouts>
    </contentView>

    <contentView name="users_listing_tabbed">
      <emptySentence>label.userManager.emptyUserList</emptySentence>
      <translateEmptySentence>true</translateEmptySentence>
      <pageProvider name="users_listing">
        <property name="usersListingMode">#{userManagementActions.listingMode}</property>
        <parameter>#{userManagementActions.selectedLetter}</parameter>
      </pageProvider>
      <showPageSizeSelector>true</showPageSizeSelector>
      <showRefreshCommand>false</showRefreshCommand>
      <useGlobalPageSize>false</useGlobalPageSize>
      <refresh>
        <event>selectedLetterChanged</event>
      </refresh>
      <reset>
        <event>usersListingChanged</event>
      </reset>
      <cacheKey>only_one_cache</cacheKey>
      <cacheSize>1</cacheSize>
      <resultLayouts>
        <layout name="users_listing" showCSVExport="false" showPDFExport="false"/>
      </resultLayouts>
    </contentView>

    <contentView name="groups_listing_search_only">
      <emptySentence>label.groupManager.emptyGroupList</emptySentence>
      <translateEmptySentence>true</translateEmptySentence>
      <pageProvider name="groups_listing">
        <property name="groupsListingMode">#{groupManagementActions.listingMode}</property>
        <parameter>#{groupManagementActions.searchString}</parameter>
      </pageProvider>
      <showPageSizeSelector>true</showPageSizeSelector>
      <showRefreshCommand>false</showRefreshCommand>
      <useGlobalPageSize>false</useGlobalPageSize>
      <refresh>
        <event>groupsListingChanged</event>
      </refresh>
      <cacheKey>only_one_cache</cacheKey>
      <cacheSize>1</cacheSize>
      <resultLayouts>
        <layout name="groups_listing" showCSVExport="false" showPDFExport="false"/>
      </resultLayouts>
    </contentView>

  </extension>